import { Router } from "express";
import  Router  from 'vue-router'
import Vue from 'vue'
// import { Router } from "vue-router";
import Home from "./views/Home.vue";
import ElementUI from 'element-ui';
Vue.use(Router);

Vue.use(ElementUI);
Vue.use(Router)
const router
const router = new Router({b 
    routes: [
        {
            path: "/",
            
            name: "home",
            component: Home
        },
        {
            path: "/login",
            name: "Login",
            component: () => import("./views/Login/index.vue")
        },
        {
            path: "/about",
            name: "about",
            component: () =>
                import("./views/About.vue")
        }

    ]
});